package com.coconut.domain.rebate.repository;


import com.coconut.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import com.coconut.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import com.coconut.domain.rebate.model.valobj.BehaviorTypeVO;
import com.coconut.domain.rebate.model.valobj.DailyBehaviorRebateVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author YaoBoning
 * @Date 2024/10/18 15:11
 * @Description 行为返利服务仓储接口
 */
public interface IBehaviorRebateRepository {

    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(BehaviorTypeVO behaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);

}

